//
//  MenuTableViewCell.m
//  B段项目
//
//  Created by dllo on 15/11/3.
//  Copyright © 2015年 谢美娜. All rights reserved.
//

#import "MenuTableViewCell.h"

@implementation MenuTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _leftImageView = [[UIImageView alloc]initWithFrame:CGRectMake(35 * FitWidth, 12.5 * FitHeight, 25 * FitWidth, 25 * FitHeight)];
        [self addSubview:_leftImageView];
        
        _rightLabel = [[UILabel alloc]initWithFrame:CGRectMake(_leftImageView.frame.origin.x + _leftImageView.frame.size.width + 20 * FitWidth, _leftImageView.frame.origin.y, 100 * FitWidth, _leftImageView.frame.size.height)];
        _rightLabel.textColor = [UIColor whiteColor];
        _rightLabel.font = [UIFont systemFontOfSize:15];
        [self addSubview:_rightLabel];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
